package com.mabang.medata.serviceImpl;

import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.ws.BindingType;
import javax.xml.ws.soap.SOAPBinding;

import org.springframework.stereotype.Component;

import com.mabang.medata.service.HelloService;

@BindingType(value=SOAPBinding.SOAP12HTTP_BINDING)
@Component
@WebService(name="HelloService",targetNamespace="http://service.medata.mabang.com/")
public class HelloServiceImpl implements HelloService {
	
	@Override
	public String say(String name) {
		return "hello "+name;
	}

}
